<template>
    <div class="nav">
        <div class="nav-sticky">
            <NavItem>
                 <template>
                   <div>
                        <el-input class="input"></el-input>
                    </div>
                    <div>
                        <router-link class="one" tag="div" to="/cart"> <i class="el-icon-shopping-cart-full"></i> </router-link>
                    </div>
                </template> 
            </NavItem>
        </div>
         <!-- <div class="nav-nosticky">
            <NavItem>
                <template>
                   <div>
                        <router-link class="one" tag="div" to="/homeone">品牌</router-link>
                    </div>
                    <div>
                        <router-link  class="one" tag="div"  to="/homeone"> 专题 </router-link>
                    </div>
                </template> 
            </NavItem> -->
        <!-- </div>  -->
        
        
    </div>
</template>

<script>
import NavItem from "./Nav.vue"
export default {
    components:{NavItem}
}
</script>

<style lang="scss">

    .nav .nav-sticky{position:sticky ; top:0; width:100vw;}
 
</style>
